package com.handle.system.api.response.role;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class RoleListVo implements Serializable {
    private Long id;
    private String tenantCode;
    private String tenantName;
    private String roleCode;
    private String roleName;
    private String dataScope;
    private Boolean status;
    private String remark;
    private Integer roleSort;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private LocalDateTime createTime;
    private List<Permission> permissions;
}

